package com.qd.common.panda.domain.entity.card;

import com.cdqidi.util.page.BaseQuery;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * 我的卡卷
 *
 * @author sjk
 */
@EqualsAndHashCode(callSuper = true)
@Getter
@Setter
public class UserCardQueryDTO extends BaseQuery {

    /**
     * 卡卷状态:1已兑换 2已使用3已过期
     */
    private Integer state;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 卷类型
     */
    private String cardType;
    /**
     * 使用品牌
     */
    private String useBrand;
    /**
     * 价格
     */
    private String price;
    @Override
    public void freeData() {
        this.state = null;
        this.userId = null;
        this.cardType = null;
        this.useBrand = null;
        this.price = null;
        super.freeData();
    }
}
